package com.yuxl.ai.embedding.bailian.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author : yuxl
 * @create 2025/7/10 下午5:09
 */
@Data
@Accessors(chain = true)
public class BailianEmbeddingReq {

    @Schema(description =  "模型")
    private String model;

    @Schema(description =  "输入")
    private List<String> input;

    @Schema(description =  "指定向量维度")
    private Integer dimensions;

    @Schema(description =  "编码格式")
    @JsonProperty("encoding_format")
    private String encodingFormat = "float";
}
